<?php

namespace app\common\model;
/**
 * [Menu  菜单表]
 * @author [C。]
 * @return html
 */
class Menu extends Base
{
    protected $name = 'auth_rule';

    /**
     * [getAllMenu  获取全部菜单]
     * @author [C。]
     * @return array
     */
    public function getAllMenu()
    {
        return $this->order('sort asc')->select()->toArray();
    }
}